<template>
  <div id="app">
    <header>
      <router-view name="header" />
    </header>
    <main class="main-container">
      <router-view />
    </main>
    <footer>
      <router-view name="footer"/>
    </footer>

  </div>
</template>

<script>
import './_reset.scss'
export default {
  name: 'App',
  components: {
  }
}
</script>
<style lang="scss">
@font-face {
    font-family: 'iconfont';  /* project id 1929837 */
    src: url('//at.alicdn.com/t/font_1929837_voyed32ukej.eot');
    src: url('//at.alicdn.com/t/font_1929837_voyed32ukej.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_1929837_voyed32ukej.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_1929837_voyed32ukej.woff') format('woff'),
    url('//at.alicdn.com/t/font_1929837_voyed32ukej.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_1929837_voyed32ukej.svg#iconfont') format('svg');
    }
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
  body,html{
    height: 100%;
  }
  #app {
    height: 100%;
    display: flex;
    flex-direction: column;

    .main-container{
      flex:1;
      overflow-x : hidden;
    }
}
</style>
